package cn.gov.pbc.gd.credit.center.service.util;

public class AgentUtil {

	public static String text = "<tr  class=\"tr_height\"><td colspan=\"4\" align=\"center\">"
			+ "<span class=\"style1\"><b>代理人信息</b></span>"
			+ "</td>"
			+ "</tr>"
			+ "<tr  class=\"tr_height\">"
			+ "<td  width=\"120\">"
			+ "<span class=\"style1\"><font color=\"red\">*</font>代理人姓名</span>"
			+ "</td>"
			+ "<td  width=\"188\">"
			+ "<span class=\"style2\" id=\"userAgent\">%s</span>"
			+ "</td>"
			+ "<td  width=\"120\">"
			+ "<span class=\"style1\"><font color=\"red\">*</font>证件类型</span>"
			+ "</td>"
			+ "<td  width=\"188\">"
			+ "<span class=\"style2\" id=\"certtypeAgent\">%s</span>"
			+ "</td>"
			+ "</tr>"
			+ "<tr  class=\"tr_height\">"
			+ "<td width=\"120\">"
			+ "<span class=\"style1\"><font color=\"red\">*</font>证件号码</span>"
			+ "</td>"
			+ "<td width=\"496\" colspan=\"3\">"
			+ "<span class=\"style2\" id=\"certnoAgent\">%s</span>"
			+ "</td>"
			+ "</tr>";
	
	public static String getAgentText(String agentUser, String certTypeAgent, String certNoAgent){
		
		return String.format(text, agentUser, certTypeAgent, certNoAgent);
	}
	
	public static void main(String[] args) {
		System.err.println(getAgentText("dd112", "身份证", "4128525564646466464"));
	}
}
